package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
/**
 *
 * 活动和appId绑定记录
 *
 */
@Getter
@Setter
@Document(collection = "activity_appId_record")
public class ActivityAppIdRecord extends EntityBase {
    @Indexed
    private String appId;
    @Indexed
    private String activityId;

    private String activityName;

    private String appName;

    private Date startTime;

    private Date endTime;

    private Boolean enable = Boolean.FALSE;

}
